package com.tarena.lbs.article.web;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;


@SpringBootApplication(scanBasePackages = {
        "com.tarena.lbs.article.web",
        "com.tarena.lbs.common.security"
})
// 扫描mapper
@MapperScan("com.tarena.lbs.article.web.mapper")
//扫描common中security的包 加载认证过滤器
@EnableDubbo
public class ArticleWeb {
    //2.main方法[springboot启动流程原理]
    public static void main(String[] args){
        SpringApplication.run(ArticleWeb.class,args);
    }
}
